﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ser_RateCollection : List<Ser_Rate>
    {
         public int IndexOf(Ser_Rate item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Ser_Rate item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Ser_Rate this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Ser_Rate item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Ser_Rate item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Ser_Rate[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Ser_Rate item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Ser_Rate> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Ser_Rate
    {
        private int _IdRate;

        public int IdRate
        {
            get { return _IdRate; }
            set { _IdRate = value; }
        }
        private string _RateCode;

        public string RateCode
        {
            get { return _RateCode; }
            set { _RateCode = value; }
        }
        private string _Area;

        public string Area
        {
            get { return _Area; }
            set { _Area = value; }
        }
        private double _SafeOffPrice;

        public double SafeOffPrice
        {
            get { return _SafeOffPrice; }
            set { _SafeOffPrice = value; }
        }
        private double _NormalPrice;

        public double NormalPrice
        {
            get { return _NormalPrice; }
            set { _NormalPrice = value; }
        }
        private string _Note;

        public string Note
        {
            get { return _Note; }
            set { _Note = value; }
        }
        private DateTime _Createdate;

        public DateTime Createdate
        {
            get { return _Createdate; }
            set { _Createdate = value; }
        }
        private DateTime _Updatedate;

        public DateTime Updatedate
        {
            get { return _Updatedate; }
            set { _Updatedate = value; }
        }
    }
}
